#pragma once
#include <FFT\fftw3.h>
#include <vector>
#define _USE_MATH_DEFINES
class FFT
{
public:
	FFT() {};
	FFT(std::vector<double> source_data, uint32_t fft_size);
	~FFT();
	std::vector<double> fft(int Overlap = 0);

private:
	void hanning(double* w, long nf);

private:
	std::vector<double> m_src_data;
	uint32_t m_fft_size;
};

